package My;

public class Test {
    public static void main(String[] args) {
        MyStack myStack=new MyStack();
        myStack.push(1);
        myStack.push(2);
        myStack.push(3);
        int val= myStack.peek();
        int val2= myStack.pop();
        System.out.println(val+val2);
    }
}
